Total Complexity | 56 |
Dependencies | 1 |
Dependents | 1 |
Total lines | 385 |
Lines of code | 155 |
Logical lines of code | 96 |
Comment lines | 87 |
Methods | 12 |
Properties | 13 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
optimize_scripts() | 44 | 16 | 40 | |
remove_excluded_scripts() | 51 | 11 | 27 | |
remove_footer_excluded_scripts() | 61 | 5 | 12 | |
check_script_types() | 58 | 4 | 15 | |
convert_inline_to_base64() | 61 | 4 | 11 | |
replace_comments_with_placeholders() | 63 | 3 | 10 | |
replace_placeholders_with_comments() | 66 | 3 | 8 | |
add_defer_attribute() | 64 | 3 | 9 | |
run_class() | 73 | 2 | 5 | |
find_scripts_without_defer() | 70 | 2 | 6 | |
move_scripts() | 69 | 2 | 6 | |
__construct() | 69 | 1 | 6 |